/*
* $Id: DialogManipulationWin.h 130 2010-08-06 15:19:16Z volok-aleksej@yandex.ru $
*
* Copyright 2010 by Alexey Volokitin
* All rights reserved
*
*/
#ifndef _DIALOG_MANIPULATION_WIN_H_
#define _DIALOG_MANIPULATION_WIN_H_

#include "DialogWndInterface.h"

class CDialogManipulationWin
{
	IDialogWnd* m_pWnd;
	CWnd* m_pParent;
private:
	void WindowCreate();
public:
protected:
	IDialogWnd::type m_type;
public:
	CDialogManipulationWin(CWnd* pParentWnd);
	~CDialogManipulationWin();
public:
	void SetTypeWin(IDialogWnd::type tp);
	IDialogWnd::type GetTypeWin();
	void SetSelectedData(unsigned long data);
	unsigned long GetSelectedData();
	void SetId(int nId);
	int GetId();
	void Save();
};

#endif/*_DIALOG_MANIPULATION_WIN_H_*/